﻿using System;
using System.Collections.Generic;
using IDAL.RF.Package;
using Model.RF.Package;

namespace BLL.RF.Package
{
    public class Package : BaseService<PackageInfo>
    {
        private static readonly IPackage dal = DALFactory.DataAccess.CreatePackage();

        public override void SetCurrentRepository()
        {
            CurrentRepository = dal;
        }

        public IList<PackageInfo> Package_GetbyDT(DateTime starttime, DateTime stoptime)
        {
            return dal.Package_GetbyDT(starttime, stoptime);
        }
    }
}
